package com.adds.lvds.security.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author: zhangjian   
 * @date: 2018年6月14日 上午10:07:53
 * @desc TODO
 */
public class SysResource implements Serializable{
    private static final long serialVersionUID = -8081225022334946487L;  
	private Integer id;
	
	private String name;//菜单名称
	
	private Integer parentId; //父标签Id
	
	private String parentName;//父节点名称
	
	private String resKey;//菜单关键字
	
	private String resUrl;//请求url
	
	private Integer rank;//排序
	
	private String type;//1,目录2.菜单3.按钮
	
	private String description;
	
	private String img;
	private int role_id;
	private List<SysResource> children = new ArrayList<SysResource>();	
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getParentId() {
		return parentId;
	}

	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}

	public String getParentName() {
		return parentName;
	}

	public void setParentName(String parentName) {
		this.parentName = parentName;
	}

	public String getResKey() {
		return resKey;
	}

	public void setResKey(String resKey) {
		this.resKey = resKey;
	}

	public String getResUrl() {
		return resUrl;
	}

	public void setResUrl(String resUrl) {
		this.resUrl = resUrl;
	}

	public Integer getRank() {
		return rank;
	}

	public void setRank(Integer rank) {
		this.rank = rank;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getImg() {
		return img;
	}

	public void setImg(String img) {
		this.img = img;
	}


	public List<SysResource> getChildren() {
		return children;
	}

	public void setChildren(List<SysResource> children) {
		this.children = children;
	}

	public int getRole_id() {
		return role_id;
	}

	public void setRole_id(int role_id) {
		this.role_id = role_id;
	}

}
